﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Customer>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Customer Details
</asp:Content>

<asp:Content ID="javascript" ContentPlaceHolderID="Javascript" runat="server">
    
    <script type="text/javascript">
        $(document).ready(function() {
        
        });

        
    </script>
</asp:Content>

<asp:Content ID="ContentHeader" ContentPlaceHolderID="ContentHeader" runat="server">
Detail : <%= Html.DisplayTextFor(m => m.FirstName)%> <%= Html.DisplayTextFor(m => m.LastName)%>
</asp:Content>  

<asp:Content ID="ContentSubNav" ContentPlaceHolderID="ContentSubNav" runat="server">
    
    <li class="selected"><%= Html.ActionLink("Consumers", "Index", "Customers")%></li>
    <li class=""><%= Html.ActionLink("Create Consumer", "Create", "Customers")%></li>
    
    
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <%--<% Html.EnableClientValidation(); %>--%>

    <%= Html.ValidationSummary(true, "There were some errors with your form. Please correct and try again") %>
    
    <%--<% using (Html.BeginForm("Edit", "Customers", FormMethod.Post, new {id = "EnquiryForm",  @class = "faux_form" })){%> --%>
    
    <form id = "EnquiryForm" class = "faux_form" >
    <%--USER INFO--%>
    <div class="clearfix">
        <%= Html.LabelFor(m => m.FirstName)%>
        <%= Html.DisplayFor(m => m.FirstName)%>
    </div>
    
    <div class="clearfix">
        <%= Html.LabelFor(m => m.LastName)%>
        <%= Html.DisplayTextFor(m => m.LastName )%>
    </div>
    <div class="clearfix">
        <%= Html.LabelFor(m => m.AddressLine1)%>
        <%= Html.DisplayTextFor(m => m.AddressLine1)%>
    </div>
    <div class="clearfix">
        <%= Html.LabelFor(m => m.AddressLine2)%>
        <%= Html.DisplayTextFor(m => m.AddressLine2)%>
    </div>
    <div class="clearfix">
        <%= Html.LabelFor(m => m.Town)%>
        <%= Html.DisplayTextFor(m => m.Town)%>
    </div>
    <div class="clearfix">
        <%= Html.LabelFor(m => m.County)%>
        <%= Html.DisplayTextFor(m => m.County)%>
    </div>
    <div class="clearfix">
        <%= Html.LabelFor(m => m.PostCode)%>
        <%= Html.DisplayTextFor(m => m.PostCode)%>
    </div>
    <div class="clearfix">
        <%= Html.LabelFor(m => m.Country)%>
        <%= Html.DisplayTextFor(m => m.Country)%>
    </div>
    <div class="clearfix">
        <%= Html.LabelFor(m => m.LastContactDate)%>
        <%= Html.DisplayTextFor(m => m.LastContactDate)%>
    </div>
    <div class="clearfix">
        <%--METHOD--%>
        <%= Html.LabelFor(m => m.Method)%>
        <%= Html.DisplayTextFor(m => m.Method)%>
    </div>
    <div class="clearfix">
        <%= Html.LabelFor(m => m.Email)%>
        <%= Html.DisplayTextFor(m => m.Email)%>
    </div>
    <div class="clearfix">
        <%= Html.LabelFor(m => m.PhoneMobile)%>
        <%= Html.DisplayTextFor(m => m.PhoneMobile)%>
    </div>
    <div class="clearfix">
        <%= Html.LabelFor(m => m.PhoneLandline)%>
        <%= Html.DisplayTextFor(m => m.PhoneLandline)%>
    </div>
    <div class="clearfix">
        <%= Html.LabelFor(m => m.DateOfBirth)%>
        <%= Html.DisplayTextFor(m => m.DateOfBirth)%>
    </div>
    <div class="clearfix">
        <%--SampleRequest--%>
        <%= Html.LabelFor(m => m.SampleRequest)%>
        <%= Html.DisplayTextFor(m => m.SampleRequest)%>
    </div>
    <div class="clearfix">
        <%--SampleSent--%>
        <%= Html.LabelFor(m => m.SampleSent)%>
        <%= Html.DisplayTextFor(m => m.SampleSent)%>
    </div>
    <div class="clearfix">
        <%--SampleSent--%>
        <%= Html.LabelFor(m => m.Category.Name)%>
        <%= Html.DisplayTextFor(m => m.Category.Name )%>
    </div>
    <div class="clearfix">
        <%--SampleSent--%>
        <%= Html.LabelFor(m => m.Product.Name)%>
        <%= Html.DisplayTextFor(m => m.Product.Name )%>
    </div>
    
  </form>
    <%--        </div>
            <% } %>--%>

</asp:Content>
